Adwaita: fix separator in non paned using split headerbar
authorLapo Calamandrei <calamandrei@gmail.com>
Fri, 26 Feb 2016 11:53:02 +0000 (12:53 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Fri, 26 Feb 2016 11:53:02 +0000 (12:53 +0100)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=762593

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index fe503d43332dd00d3bd16859e309c5aa4a3ca241..56877445ad15981f6f764ea7c3cca3047048b0ee 100644 (file)
@@ -1341,7 +1341,9 @@ headerbar {
       padding: 0;
     }
   }
+}
 
+headerbar {
   // add vertical margins to headerbar entries, buttons and separators to avoid them spanning the whole height
   entry,
   spinbutton,
@@ -1377,6 +1379,8 @@ headerbar {
     box-shadow: none;
   }
 
+  separator { background-color: $borders_color; }
+
   @extend %titlebar;
 }
 
index 9849a97f8c94415564719b994564356f86753a27..3b13a93ff9aafd55f70e55e6781b43bc0c2e9eb4 100644 (file)
@@ -1750,17 +1750,13 @@ headerbar {
       min-width: 26px;
       margin: 0;
       padding: 0; }
-  .titlebar:not(headerbar) entry, .titlebar:not(headerbar) spinbutton:not(.vertical),
-  .titlebar:not(headerbar) spinbutton,
-  .titlebar:not(headerbar) separator,
-  .titlebar:not(headerbar) button,
-  headerbar entry,
-  headerbar spinbutton:not(.vertical),
-  headerbar spinbutton,
-  headerbar separator,
-  headerbar button {
-    margin-top: 6px;
-    margin-bottom: 6px; }
+
+headerbar entry, headerbar spinbutton:not(.vertical),
+headerbar spinbutton,
+headerbar separator,
+headerbar button {
+  margin-top: 6px;
+  margin-bottom: 6px; }
 
 .titlebar, .titlebar:backdrop {
   border-top-left-radius: 7px;
@@ -1778,6 +1774,8 @@ window.csd > .titlebar:not(headerbar) {
   border-style: none;
   border-color: transparent;
   box-shadow: none; }
+.titlebar:not(headerbar) separator {
+  background-color: #1c1f1f; }
 
 /************
  * Pathbars *
index 1c36c1397428ff60bde9d7161306343e2b3fd511..e8e2ee638edf881fb17948a820f6391225427f96 100644 (file)
@@ -1754,17 +1754,13 @@ headerbar {
       min-width: 26px;
       margin: 0;
       padding: 0; }
-  .titlebar:not(headerbar) entry, .titlebar:not(headerbar) spinbutton:not(.vertical),
-  .titlebar:not(headerbar) spinbutton,
-  .titlebar:not(headerbar) separator,
-  .titlebar:not(headerbar) button,
-  headerbar entry,
-  headerbar spinbutton:not(.vertical),
-  headerbar spinbutton,
-  headerbar separator,
-  headerbar button {
-    margin-top: 6px;
-    margin-bottom: 6px; }
+
+headerbar entry, headerbar spinbutton:not(.vertical),
+headerbar spinbutton,
+headerbar separator,
+headerbar button {
+  margin-top: 6px;
+  margin-bottom: 6px; }
 
 .titlebar, .titlebar:backdrop {
   border-top-left-radius: 7px;
@@ -1782,6 +1778,8 @@ window.csd > .titlebar:not(headerbar) {
   border-style: none;
   border-color: transparent;
   box-shadow: none; }
+.titlebar:not(headerbar) separator {
+  background-color: #9d9d99; }
 
 /************
  * Pathbars *